package com.example.builder;

/**
 * Created by fjx on 2021/6/18
 */
public class LowComputerBuilder implements ComputerBuilder{

    private Computer computer = new Computer();

    @Override
    public void builderCpu() {
        computer.setCpu("低配 cpu");
    }

    @Override
    public void builderMemory() {
        computer.setMemory("低配 memory");
    }

    @Override
    public void builderDisk() {
        computer.setDisk("低配 disk");
    }

    @Override
    public Computer createComputer() {
        return computer;
    }
}
